'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents StartButton As System.Windows.Forms.Button
Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
Friend WithEvents StatusBar As System.Windows.Forms.StatusBar
Friend WithEvents Latitude As System.Windows.Forms.Label
Friend WithEvents Longitude As System.Windows.Forms.Label
Friend WithEvents Direction As System.Windows.Forms.Label
Friend WithEvents Altitude As System.Windows.Forms.Label
Friend WithEvents Speed As System.Windows.Forms.Label
Friend WithEvents Bearing As System.Windows.Forms.Label
Friend WithEvents SatelliteList As System.Windows.Forms.ListView
Friend WithEvents SatelliteID As System.Windows.Forms.ColumnHeader
Friend WithEvents SatelliteElevation As System.Windows.Forms.ColumnHeader
Friend WithEvents SatelliteAzimuth As System.Windows.Forms.ColumnHeader
Friend WithEvents SatelliteSignalStrength As System.Windows.Forms.ColumnHeader
Friend WithEvents StopButton As System.Windows.Forms.Button
Friend WithEvents LocalTime As System.Windows.Forms.Label
Friend WithEvents FixObtained As System.Windows.Forms.Label
Friend WithEvents FixQuality As System.Windows.Forms.Label
Friend WithEvents UnrecognizedSentences As System.Windows.Forms.ListBox
Friend WithEvents MagneticVariation As System.Windows.Forms.Label
Friend WithEvents ActiveSatellites As System.Windows.Forms.Label
Friend WithEvents FixedSatellites As System.Windows.Forms.Label
Friend WithEvents LocalTimeTimer As System.Timers.Timer
Friend WithEvents TrackedSatellites As System.Windows.Forms.Label
Friend WithEvents FixMode As System.Windows.Forms.Label
Friend WithEvents FixMethod As System.Windows.Forms.Label
Friend WithEvents ColumnHeader1 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader2 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader3 As System.Windows.Forms.ColumnHeader
Friend WithEvents DownloadWaypointButton As System.Windows.Forms.Button
Friend WithEvents RecognizedSentences As System.Windows.Forms.ListBox
Friend WithEvents MeanDilutionOfPrecision As System.Windows.Forms.Label
Friend WithEvents VerticalDilutionOfPrecision As System.Windows.Forms.Label
Friend WithEvents HorizontalDilutionOfPrecision As System.Windows.Forms.Label
Friend WithEvents UTCDateTime As System.Windows.Forms.Label
Friend WithEvents WaypointList As System.Windows.Forms.ListView
Friend WithEvents ColumnHeader4 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader5 As System.Windows.Forms.ColumnHeader
Friend WithEvents PowerOffButton As System.Windows.Forms.Button
Friend WithEvents BaudRateLabel As System.Windows.Forms.Label
Friend WithEvents FixMethodLabel As System.Windows.Forms.Label
Friend WithEvents TrackedSatellitesLabel As System.Windows.Forms.Label
Friend WithEvents ActiveSatellitesLabel As System.Windows.Forms.Label
Friend WithEvents FixQualityLabel As System.Windows.Forms.Label
Friend WithEvents FixObtainedLabel As System.Windows.Forms.Label
Friend WithEvents FixModeLabel As System.Windows.Forms.Label
Friend WithEvents LocalTimeLabel As System.Windows.Forms.Label
Friend WithEvents SpeedLabel As System.Windows.Forms.Label
Friend WithEvents FixedSatellitesLabel As System.Windows.Forms.Label
Friend WithEvents UTCDateTimeLabel As System.Windows.Forms.Label
Friend WithEvents BearingLabel As System.Windows.Forms.Label
Friend WithEvents AltitudeLabel As System.Windows.Forms.Label
Friend WithEvents LongitudeLabel As System.Windows.Forms.Label
Friend WithEvents LatitudeLabel As System.Windows.Forms.Label
Friend WithEvents MagneticVariationLabel As System.Windows.Forms.Label
Friend WithEvents MeanDilutionOfPrecisionLabel As System.Windows.Forms.Label
Friend WithEvents VerticalDilutionOfPrecisionLabel As System.Windows.Forms.Label
Friend WithEvents HorizontalDilutionOfPrecisionLabel As System.Windows.Forms.Label
Friend WithEvents DirectionLabel As System.Windows.Forms.Label
Friend WithEvents RecognizedSentencesLabel As System.Windows.Forms.Label
Friend WithEvents UnrecognizedSentencesLabel As System.Windows.Forms.Label
Friend WithEvents EditWaypointButton As System.Windows.Forms.Button
Friend WithEvents NewWaypointButton As System.Windows.Forms.Button
Friend WithEvents SatelliteTabPage As System.Windows.Forms.TabPage
Friend WithEvents WaypointTabPage As System.Windows.Forms.TabPage
Friend WithEvents RawDataTabPage As System.Windows.Forms.TabPage
Friend WithEvents DeviceTabPage As System.Windows.Forms.TabPage
Friend WithEvents DeviceInformationGroupBox As System.Windows.Forms.GroupBox
Friend WithEvents SupportsRoutes As System.Windows.Forms.Label
Friend WithEvents SupportsTracks As System.Windows.Forms.Label
Friend WithEvents SupportsWaypoints As System.Windows.Forms.Label
Friend WithEvents SupportsRoutesLabel As System.Windows.Forms.Label
Friend WithEvents SupportsTracksLabel As System.Windows.Forms.Label
Friend WithEvents SupportsWaypointsLabel As System.Windows.Forms.Label
Friend WithEvents BatteryLifeLabel As System.Windows.Forms.Label
Friend WithEvents BatteryLife As System.Windows.Forms.Label
Friend WithEvents ProtocolLabel As System.Windows.Forms.Label
Friend WithEvents Protocol As System.Windows.Forms.Label
Friend WithEvents SoftwareVersion As System.Windows.Forms.Label
Friend WithEvents SoftwareVersionLabel As System.Windows.Forms.Label
Friend WithEvents DeviceName As System.Windows.Forms.Label
Friend WithEvents ManufacturerLabel As System.Windows.Forms.Label
Friend WithEvents Manufacturer As System.Windows.Forms.Label
Friend WithEvents DeviceNameLabel As System.Windows.Forms.Label
Friend WithEvents SupportedWaypointFeaturesGroupBox As System.Windows.Forms.GroupBox
Friend WithEvents WaypointIntersectingRoadCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointCountryCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointDepthCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointFacilityNameCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointCityCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointStateCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointAddressCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointAltitudeCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointSymbolCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointColorCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointCommentCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents WaypointDisplayModeCheckbox As System.Windows.Forms.CheckBox
Friend WithEvents PositionTabPage As System.Windows.Forms.TabPage
Friend WithEvents WaypointSymbolComboBox As System.Windows.Forms.ComboBox
Friend WithEvents WaypointColorComboBox As System.Windows.Forms.ComboBox
Friend WithEvents WaypointDisplayModeComboBox As System.Windows.Forms.ComboBox
Friend WithEvents WaypointInstructionsLabel As System.Windows.Forms.Label
Friend WithEvents ComPortLabel As System.Windows.Forms.Label
Friend WithEvents ParsingText As System.Windows.Forms.TextBox
Friend WithEvents ParseButton As System.Windows.Forms.Button
Friend WithEvents ErrorTabPage As System.Windows.Forms.TabPage
Friend WithEvents ParsingExceptionTextBox As System.Windows.Forms.TextBox
Friend WithEvents GpsExceptionTextBox As System.Windows.Forms.TextBox
Friend WithEvents OriginWaypointLabel As System.Windows.Forms.Label
Friend WithEvents OriginWaypoint As System.Windows.Forms.Label
Friend WithEvents DestinationWaypoint As System.Windows.Forms.Label
Friend WithEvents CrossTrackError As System.Windows.Forms.Label
Friend WithEvents RecommendedSteeringDirection As System.Windows.Forms.Label
Friend WithEvents RecommendedSteeringDirectionLabel As System.Windows.Forms.Label
Friend WithEvents UtmPosition As System.Windows.Forms.Label
Friend WithEvents UtmPositionLabel As System.Windows.Forms.Label
Friend WithEvents ShowCompassCheckBox As System.Windows.Forms.CheckBox
Friend WithEvents ShowPrcCheckBox As System.Windows.Forms.CheckBox
Friend WithEvents FlickerFreeDemoCheckBox As System.Windows.Forms.CheckBox
Friend WithEvents BaudRateComboBox As StormSource.Gps.Controls.BaudRateComboBox
Friend WithEvents ComPortComboBox As StormSource.Gps.Controls.ComPortComboBox
Friend WithEvents SatelliteViewer As StormSource.Gps.Controls.SatelliteViewer
Friend WithEvents GpsReceiver As StormSource.Gps.Receiver
Friend WithEvents FixLikelihoodLabel As System.Windows.Forms.Label
Friend WithEvents FixLikelihood As System.Windows.Forms.Label
Friend WithEvents ParsingTextLabel As System.Windows.Forms.Label
Friend WithEvents GpsExceptionLabel As System.Windows.Forms.Label
Friend WithEvents ParsingExceptionLabel As System.Windows.Forms.Label
Friend WithEvents CrossTrackErrorLabel As System.Windows.Forms.Label
Friend WithEvents DestinationWaypointLabel As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim ListViewItem1 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem2 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem3 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem4 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem5 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem6 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem7 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem8 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem9 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem10 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem11 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem12 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem13 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem14 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem15 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim ListViewItem16 As System.Windows.Forms.ListViewItem = New System.Windows.Forms.ListViewItem(New System.Windows.Forms.ListViewItem.ListViewSubItem() {New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, ""), New System.Windows.Forms.ListViewItem.ListViewSubItem(Nothing, "")}, -1)
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
Me.StartButton = New System.Windows.Forms.Button()
Me.StopButton = New System.Windows.Forms.Button()
Me.StatusBar = New System.Windows.Forms.StatusBar()
Me.TabControl1 = New System.Windows.Forms.TabControl()
Me.RawDataTabPage = New System.Windows.Forms.TabPage()
Me.ParseButton = New System.Windows.Forms.Button()
Me.ParsingTextLabel = New System.Windows.Forms.Label()
Me.ParsingText = New System.Windows.Forms.TextBox()
Me.RecognizedSentencesLabel = New System.Windows.Forms.Label()
Me.UnrecognizedSentencesLabel = New System.Windows.Forms.Label()
Me.UnrecognizedSentences = New System.Windows.Forms.ListBox()
Me.RecognizedSentences = New System.Windows.Forms.ListBox()
Me.PositionTabPage = New System.Windows.Forms.TabPage()
Me.UtmPosition = New System.Windows.Forms.Label()
Me.UtmPositionLabel = New System.Windows.Forms.Label()
Me.FixMethod = New System.Windows.Forms.Label()
Me.FixMethodLabel = New System.Windows.Forms.Label()
Me.TrackedSatellites = New System.Windows.Forms.Label()
Me.TrackedSatellitesLabel = New System.Windows.Forms.Label()
Me.FixedSatellites = New System.Windows.Forms.Label()
Me.ActiveSatellitesLabel = New System.Windows.Forms.Label()
Me.MagneticVariation = New System.Windows.Forms.Label()
Me.MagneticVariationLabel = New System.Windows.Forms.Label()
Me.MeanDilutionOfPrecision = New System.Windows.Forms.Label()
Me.MeanDilutionOfPrecisionLabel = New System.Windows.Forms.Label()
Me.VerticalDilutionOfPrecision = New System.Windows.Forms.Label()
Me.VerticalDilutionOfPrecisionLabel = New System.Windows.Forms.Label()
Me.HorizontalDilutionOfPrecision = New System.Windows.Forms.Label()
Me.HorizontalDilutionOfPrecisionLabel = New System.Windows.Forms.Label()
Me.FixQuality = New System.Windows.Forms.Label()
Me.FixQualityLabel = New System.Windows.Forms.Label()
Me.FixObtained = New System.Windows.Forms.Label()
Me.FixObtainedLabel = New System.Windows.Forms.Label()
Me.FixMode = New System.Windows.Forms.Label()
Me.FixModeLabel = New System.Windows.Forms.Label()
Me.LocalTime = New System.Windows.Forms.Label()
Me.LocalTimeLabel = New System.Windows.Forms.Label()
Me.Speed = New System.Windows.Forms.Label()
Me.SpeedLabel = New System.Windows.Forms.Label()
Me.ActiveSatellites = New System.Windows.Forms.Label()
Me.FixedSatellitesLabel = New System.Windows.Forms.Label()
Me.UTCDateTime = New System.Windows.Forms.Label()
Me.UTCDateTimeLabel = New System.Windows.Forms.Label()
Me.Direction = New System.Windows.Forms.Label()
Me.DirectionLabel = New System.Windows.Forms.Label()
Me.Bearing = New System.Windows.Forms.Label()
Me.Altitude = New System.Windows.Forms.Label()
Me.Longitude = New System.Windows.Forms.Label()
Me.Latitude = New System.Windows.Forms.Label()
Me.BearingLabel = New System.Windows.Forms.Label()
Me.LongitudeLabel = New System.Windows.Forms.Label()
Me.AltitudeLabel = New System.Windows.Forms.Label()
Me.LatitudeLabel = New System.Windows.Forms.Label()
Me.SatelliteTabPage = New System.Windows.Forms.TabPage()
Me.FixLikelihoodLabel = New System.Windows.Forms.Label()
Me.SatelliteViewer = New StormSource.Gps.Controls.SatelliteViewer()
Me.ShowCompassCheckBox = New System.Windows.Forms.CheckBox()
Me.ShowPrcCheckBox = New System.Windows.Forms.CheckBox()
Me.FlickerFreeDemoCheckBox = New System.Windows.Forms.CheckBox()
Me.SatelliteList = New System.Windows.Forms.ListView()
Me.SatelliteID = New System.Windows.Forms.ColumnHeader()
Me.SatelliteElevation = New System.Windows.Forms.ColumnHeader()
Me.SatelliteAzimuth = New System.Windows.Forms.ColumnHeader()
Me.SatelliteSignalStrength = New System.Windows.Forms.ColumnHeader()
Me.FixLikelihood = New System.Windows.Forms.Label()
Me.DeviceTabPage = New System.Windows.Forms.TabPage()
Me.SupportedWaypointFeaturesGroupBox = New System.Windows.Forms.GroupBox()
Me.WaypointDisplayModeComboBox = New System.Windows.Forms.ComboBox()
Me.WaypointColorComboBox = New System.Windows.Forms.ComboBox()
Me.WaypointSymbolComboBox = New System.Windows.Forms.ComboBox()
Me.WaypointIntersectingRoadCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointCountryCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointDepthCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointFacilityNameCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointCityCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointStateCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointAddressCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointAltitudeCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointDisplayModeCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointSymbolCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointColorCheckbox = New System.Windows.Forms.CheckBox()
Me.WaypointCommentCheckbox = New System.Windows.Forms.CheckBox()
Me.DeviceInformationGroupBox = New System.Windows.Forms.GroupBox()
Me.SupportsRoutes = New System.Windows.Forms.Label()
Me.SupportsTracks = New System.Windows.Forms.Label()
Me.SupportsWaypoints = New System.Windows.Forms.Label()
Me.SupportsRoutesLabel = New System.Windows.Forms.Label()
Me.SupportsTracksLabel = New System.Windows.Forms.Label()
Me.SupportsWaypointsLabel = New System.Windows.Forms.Label()
Me.BatteryLifeLabel = New System.Windows.Forms.Label()
Me.BatteryLife = New System.Windows.Forms.Label()
Me.ProtocolLabel = New System.Windows.Forms.Label()
Me.Protocol = New System.Windows.Forms.Label()
Me.SoftwareVersion = New System.Windows.Forms.Label()
Me.SoftwareVersionLabel = New System.Windows.Forms.Label()
Me.DeviceName = New System.Windows.Forms.Label()
Me.ManufacturerLabel = New System.Windows.Forms.Label()
Me.Manufacturer = New System.Windows.Forms.Label()
Me.DeviceNameLabel = New System.Windows.Forms.Label()
Me.PowerOffButton = New System.Windows.Forms.Button()
Me.ErrorTabPage = New System.Windows.Forms.TabPage()
Me.GpsExceptionTextBox = New System.Windows.Forms.TextBox()
Me.GpsExceptionLabel = New System.Windows.Forms.Label()
Me.ParsingExceptionTextBox = New System.Windows.Forms.TextBox()
Me.ParsingExceptionLabel = New System.Windows.Forms.Label()
Me.WaypointTabPage = New System.Windows.Forms.TabPage()
Me.RecommendedSteeringDirection = New System.Windows.Forms.Label()
Me.RecommendedSteeringDirectionLabel = New System.Windows.Forms.Label()
Me.CrossTrackError = New System.Windows.Forms.Label()
Me.CrossTrackErrorLabel = New System.Windows.Forms.Label()
Me.DestinationWaypoint = New System.Windows.Forms.Label()
Me.DestinationWaypointLabel = New System.Windows.Forms.Label()
Me.OriginWaypoint = New System.Windows.Forms.Label()
Me.OriginWaypointLabel = New System.Windows.Forms.Label()
Me.WaypointInstructionsLabel = New System.Windows.Forms.Label()
Me.NewWaypointButton = New System.Windows.Forms.Button()
Me.EditWaypointButton = New System.Windows.Forms.Button()
Me.DownloadWaypointButton = New System.Windows.Forms.Button()
Me.WaypointList = New System.Windows.Forms.ListView()
Me.ColumnHeader1 = New System.Windows.Forms.ColumnHeader()
Me.ColumnHeader2 = New System.Windows.Forms.ColumnHeader()
Me.ColumnHeader3 = New System.Windows.Forms.ColumnHeader()
Me.ColumnHeader5 = New System.Windows.Forms.ColumnHeader()
Me.ColumnHeader4 = New System.Windows.Forms.ColumnHeader()
Me.LocalTimeTimer = New System.Timers.Timer()
Me.ComPortLabel = New System.Windows.Forms.Label()
Me.BaudRateLabel = New System.Windows.Forms.Label()
Me.BaudRateComboBox = New StormSource.Gps.Controls.BaudRateComboBox()
Me.ComPortComboBox = New StormSource.Gps.Controls.ComPortComboBox()
MessageBox.Show(ex.ToString, "Unable to Begin GPS Communications", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End Try
End Sub
' Raised just before a connection attempt is made
Private Sub GpsReceiver_Connecting(ByVal sender As Object, ByVal e As DeviceSettingsEventArgs) Handles GpsReceiver.Connecting
UpdateStatusBar("Connecting to GPS device on " & e.DeviceSettings.ComPort.ToString & "...")
End Sub
Private Sub GpsReceiver_Connected(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.Connected
UpdateStatusBar("Connected to GPS device, please wait...")
' Enable the Stop button, disable the Start button
StopButton.Enabled = True
StartButton.Enabled = False
BaudRateComboBox.Enabled = False
ComPortComboBox.Enabled = False
End Sub
Private Sub GpsReceiver_Acquiring(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.Acquiring
UpdateStatusBar("Please wait while satellite information is gathered...")
End Sub
' Raised when the receiver has adjusted the baud rate in an attempt to receive GPS information
Private Sub GpsReceiver_BaudRateChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.BaudRateChanged
Select Case GpsReceiver.Device.Settings.BaudRate
Case StormSource.Gps.BaudRate.Baud4800
Me.BaudRateComboBox.SelectedIndex = 0
Case StormSource.Gps.BaudRate.Baud9600
Me.BaudRateComboBox.SelectedIndex = 1
End Select
End Sub
Private Sub GpsReceiver_Timeout(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.Timeout
MessageBox.Show("The GPS device did not respond to commands, even after attempts to detect the correct connection settings. The device may be powered off. Try restarting the Receiver.", "GPS Device Timeout", MessageBoxButtons.OK, MessageBoxIcon.Hand)
End Sub
#End Region
#Region " Stopping the GPS Service "
Private Sub StopButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StopButton.Click
GpsReceiver.Stop()
End Sub
' Raised just before an attempt is made to disconnect from the GPS device
Private Sub GpsReceiver_Disconnecting(ByVal sender As Object, ByVal e As DeviceSettingsEventArgs) Handles GpsReceiver.Disconnecting
UpdateStatusBar("Disconnecting from GPS device...")
End Sub
' Raised when the connection with the device is now closed
Private Sub GpsReceiver_Disconnected(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.Disconnected
UpdateStatusBar("Disconnected from GPS device.")
' Reset start & stop buttons
StartButton.Enabled = True
PowerOffButton.Enabled = False
DownloadWaypointButton.Enabled = False
EditWaypointButton.Enabled = False
NewWaypointButton.Enabled = False
StopButton.Enabled = False
BaudRateComboBox.Enabled = True
ComPortComboBox.Enabled = True
End Sub
#End Region
#Region " Demonstration of Motion-Related GPS Events "
' Raised when the current altitude has changed
Private Sub GpsReceiver_AltitudeChanged(ByVal sender As Object, ByVal e As DistanceEventArgs) Handles GpsReceiver.AltitudeChanged
UpdateStatusBar("Altitude has changed.")
' Are we using the Imperial or Metric system?
If System.Globalization.RegionInfo.CurrentRegion.IsMetric Then
' Raised when UTM coordinates have been reported from the GPS device
Private Sub GpsReceiver_UtmPositionChanged(ByVal sender As Object, ByVal e As StormSource.Gps.UtmPositionEventArgs) Handles GpsReceiver.UtmPositionChanged
#Region " Demonstration of Precision-Related Events "
' Raised when the accuracy of latitude/longitude measurements has changed
Private Sub GpsReceiver_HorizontalDilutionOfPrecisionChanged(ByVal sender As Object, ByVal e As DilutionOfPrecisionEventArgs) Handles GpsReceiver.HorizontalDilutionOfPrecisionChanged
UpdateStatusBar("Lat/long accuracy has changed to " & e.DilutionOfPrecision.ToString)
' Update the accuracy as it relates to latitude/longitude measurements
' Raised when the mean accuracy in the current latitude/longitude has changed
Private Sub GpsReceiver_MeanDilutionOfPrecisionChanged(ByVal sender As Object, ByVal e As DilutionOfPrecisionEventArgs) Handles GpsReceiver.MeanDilutionOfPrecisionChanged
UpdateStatusBar("General accuracy has changed to " & e.DilutionOfPrecision.ToString)
' Raised when the confidence level of altitude measurements has changed
Private Sub GpsReceiver_VerticalDilutionOfPrecisionChanged(ByVal sender As Object, ByVal e As DilutionOfPrecisionEventArgs) Handles GpsReceiver.VerticalDilutionOfPrecisionChanged
UpdateStatusBar("Altitude accuracy has changed to " & e.DilutionOfPrecision.ToString)
Private Sub GpsReceiver_CrossTrackErrorChanged(ByVal sender As Object, ByVal e As StormSource.Gps.CrossTrackErrorEventArgs) Handles GpsReceiver.CrossTrackErrorChanged
' This event is raised when invalid or corrupt data is received by the device. This event only
' serves as a warning that some data was not 100% understood. These
' errors are not typically forwarded to the user.
Private Sub GpsReceiver_ParsingErrorOccurred(ByVal sender As Object, ByVal e As StormSource.Gps.ParsingErrorEventArgs) Handles GpsReceiver.ParsingErrorOccurred
' Raised when the likelihood of obtaining (or sustaining) a fix has changed
Private Sub GpsReceiver_FixLikelihoodChanged(ByVal sender As Object, ByVal e As StormSource.Gps.FixLikelihoodEventArgs) Handles GpsReceiver.FixLikelihoodChanged
FixLikelihood.Text = e.FixLikelihood.ToString
' If a fix is obtained, fix likelihood indicates how stable the fix is
If GpsReceiver.IsFixObtained Then
UpdateStatusBar("Fix stability is now " & e.FixLikelihood.ToString)
Else
UpdateStatusBar("Fix likelihood is now " & e.FixLikelihood.ToString)
End If
End Sub
Private Sub GpsReceiver_FixLost(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.FixLost
UpdateStatusBar("Satellite fix has been lost.")
' Update the magnetic variation
FixObtained.Text = "The fix was lost."
End Sub
Private Sub GpsReceiver_FixMethodChanged(ByVal sender As Object, ByVal e As FixMethodEventArgs) Handles GpsReceiver.FixMethodChanged
UpdateStatusBar("Satellite fix method has changed.")
' Update the fix method
FixMethod.Text = GpsReceiver.FixMethod.ToString
End Sub
Private Sub GpsReceiver_FixModeChanged(ByVal sender As Object, ByVal e As FixModeEventArgs) Handles GpsReceiver.FixModeChanged
UpdateStatusBar("Satellite fix mode has changed.")
' Update the magnetic variation
FixMode.Text = GpsReceiver.FixMode.ToString
End Sub
Private Sub GpsReceiver_FixObtained(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.FixObtained
UpdateStatusBar("Satellite fix has been obtained!")
' Update the magnetic variation
FixObtained.Text = "Fix Obtained"
End Sub
Private Sub GpsReceiver_FixQualityChanged(ByVal sender As Object, ByVal e As FixQualityEventArgs) Handles GpsReceiver.FixQualityChanged
UpdateStatusBar("Satellite fix quality has changed")
' Update the magnetic variation
FixQuality.Text = GpsReceiver.FixQuality.ToString
End Sub
#End Region
#Region " Demonstration of Satellite-Related GPS Events "
Private Sub GpsReceiver_SatelliteAzimuthChanged(ByVal sender As Object, ByVal e As SatelliteEventArgs) Handles GpsReceiver.SatelliteAzimuthChanged
' Update the list view associated with the specified satellite with the new azimuth
Private Sub GpsReceiver_SatellitePRCChanged(ByVal sender As Object, ByVal e As SatelliteEventArgs) Handles GpsReceiver.SatellitePseudoRandomCodeChanged
Private Sub GpsReceiver_SatelliteSignalToNoiseRatioChanged(ByVal sender As Object, ByVal e As SatelliteEventArgs) Handles GpsReceiver.SatelliteSignalToNoiseRatioChanged
' Handles three events: SatelliteActiveCountChanged, SatelliteFixCountChanged, SatelliteTrackedCountChanged
Private Sub GpsReceiver_SatelliteCountChanged(ByVal sender As Object, ByVal e As SatelliteCountEventArgs) Handles GpsReceiver.SatelliteActiveCountChanged, GpsReceiver.SatelliteFixedCountChanged, GpsReceiver.SatelliteTrackedCountChanged
Select Case e.Type
Case SatelliteCountType.ActiveCount
ActiveSatellites.Text = e.Count
Case SatelliteCountType.FixedCount
FixedSatellites.Text = e.Count
Case SatelliteCountType.TrackedCount
TrackedSatellites.Text = e.Count
End Select
End Sub
#End Region
#Region " Demonstration of Raw Sentence Processing "
' Stores information about the current sentence
Private CurrentSentence As String
' Returns True if the sentence was fully understood
' Prevent too many lines from being in the list box
If UnrecognizedSentences.Items.Count > 50 Then UnrecognizedSentences.Items.RemoveAt(0)
End Select
End Sub
' Handles two events: SentenceReceived and UnrecognizedSentenceReceived
Private Sub GpsReceiver_SentenceReceived(ByVal sender As Object, ByVal e As SentenceEventArgs) Handles GpsReceiver.SentenceReceived, GpsReceiver.UnrecognizedSentenceReceived
CurrentSentence = e.Sentence
CurrentSentenceType = e.Type
'Debug.WriteLine(e.Sentence)
' Now add the sentence
AddSentence()
End Sub
' Raised when someone clicks on the "Parse" button.
Private Sub ParseButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ParseButton.Click
' Parse the data which was entered into the text box
Try
GpsReceiver.Parse(ParsingText.Text)
Catch ex As Exception
Stop
End Try
End Sub
#End Region
#Region " Demonstration of GPS device date/time information "
' Updates the form with local date/time information
Public Sub UpdateLocalTime()
LocalTime.Text = Now.ToString
End Sub
' Updates the form with GPS device's date/time information
Public Sub UpdateGpsTime()
' NOTE: GPS devices send time in UTC. We must convert it to local time
' Raised just before the collection of waypoints is re-downloaded
Private Sub GpsReceiver_WaypointDownloadBegins(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.WaypointDownloadBegins
UpdateClearWaypointList()
End Sub
' Returns True if the waypoint name currently exists in the WaypointList list view
Private Function WaypointItemExists(ByVal name As String) As Boolean
Dim WaypointListViewItem As ListViewItem
For Each WaypointListViewItem In WaypointList.Items
If WaypointListViewItem.Text = name Then Return True
Next
End Function
' Returns the waypoint list item associated with the specified waypoint name
Private Function GetWaypointItem(ByVal name As String) As ListViewItem
Dim WaypointListViewItem As ListViewItem
For Each WaypointListViewItem In WaypointList.Items
If WaypointListViewItem.Text = name Then Return WaypointListViewItem
Next
End Function
' Raised when one waypoint has been downloaded from the GPS device
Private Sub GpsReceiver_WaypointDownloaded(ByVal sender As Object, ByVal e As StormSource.Gps.WaypointEventArgs) Handles GpsReceiver.WaypointDownloaded
' Set the current waypoint
CurrentWaypoint = e.Waypoint
' And add it to the List View
AddWaypoint()
End Sub
' Raised when the last waypoint has been downloaded from the device
Private Sub GpsReceiver_WaypointDownloadEnds(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.WaypointDownloadEnds
' Re-enable the Refresh button
UpdateCompleteWaypointList()
End Sub
Private Sub GpsReceiver_DestinationWaypointArrivalAlarm(ByVal sender As Object, ByVal e As StormSource.Gps.WaypointEventArgs) Handles GpsReceiver.DestinationWaypointArrivalAlarm
Stop
End Sub
Private Sub GpsReceiver_DestinationWaypointChanged(ByVal sender As Object, ByVal e As StormSource.Gps.WaypointEventArgs) Handles GpsReceiver.DestinationWaypointChanged
Private Sub GpsReceiver_OriginWaypointChanged(ByVal sender As Object, ByVal e As StormSource.Gps.WaypointEventArgs) Handles GpsReceiver.OriginWaypointChanged
#Region " Demonstration of GPS Device Identification "
' Raised when GpsReceiver.NET is able to identify this device uniquely from any other device
Private Sub GpsReceiver_DeviceIdentified(ByVal sender As Object, ByVal e As StormSource.Gps.DeviceEventArgs) Handles GpsReceiver.DeviceIdentified
UpdateDeviceInformation()
End Sub
Private Sub GpsReceiver_ProtocolChanged(ByVal sender As Object, ByVal e As StormSource.Gps.DeviceEventArgs) Handles GpsReceiver.ProtocolChanged
UpdateDeviceInformation()
End Sub
Private Sub GpsReceiver_ManufacturerChanged(ByVal sender As Object, ByVal e As StormSource.Gps.DeviceEventArgs) Handles GpsReceiver.ManufacturerChanged
UpdateDeviceInformation()
End Sub
Private Sub GpsReceiver_ProductNameChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GpsReceiver.ProductNameChanged
UpdateDeviceInformation()
End Sub
Private Sub GpsReceiver_BatteryLifeChanged(ByVal sender As Object, ByVal e As StormSource.Gps.TimeSpanEventArgs) Handles GpsReceiver.BatteryLifeChanged
#Region " Demonstration of powering off a GPS device "
' NOTE: Currently, the PowerOff() method is only supported when using the Garmin«
' binary protocol. Set your device to use the Garmin protocol before using this method.
Private Sub PowerOffButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PowerOffButton.Click
' Confirm that the device should be powered off
Select Case MessageBox.Show("When you turn off the GPS device, you will need to turn it back on manually. Do you still want to power off the device?", "GPS Device Power-Off", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2)
Case DialogResult.Yes
Try
' Try to power off the device. If the device is not using the Garmin« protocol, this will fail
GpsReceiver.Device.PowerOff()
Catch ex As GpsException
' The power-off failed
MessageBox.Show("The device must be set to the Garmin« protocol in order for it to be shut off. Please change the protocol and try again.", "Unable to Power Off", MessageBoxButtons.OK, MessageBoxIcon.Warning)
End Try
End Select
End Sub
#End Region
#Region " Demonstration of Viewer Rotation "
Private RotateThread As System.Threading.Thread
Private Sub UpdateRotation()
Do While True
' Increase the rotation angle by half a degree
SatelliteViewer.Bearing += 0.4
' Sleep for 50ms
RotateThread.Sleep(30)
Loop
End Sub
Private Sub FlickerFreeDemoCheckBox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FlickerFreeDemoCheckBox.CheckedChanged
If FlickerFreeDemoCheckBox.Checked Then
' Enable the rotation
RotateThread = New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf UpdateRotation))
RotateThread.Name = "Demo of Rotating Satellite Viewer"